package com.mcr.graduateprogram.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mcr.graduateprogram.bean.Manager;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mcr.graduateprogram.common.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author graduateprogram
 * @since 2023-02-25
 */
public interface IManagerService extends IService<Manager> {
    Page<Manager> getPage(Integer page, Integer pageSize, String name);

    boolean addManager(Manager manager);

    boolean updateManagerById(Manager manager);

    Manager login(Manager manager);
}
